import request from '@/utils/request'
const serviceName = 'System'
export function query(data) {
  return request({
    url: serviceName + '/System/QueryDbTable',
    method: 'post',
    data
  })
}
export function createCode(data) {
  return request({
    url: serviceName + '/System/CreateDbEntity',
    method: 'post',
    data
  })
}

export function createColumn(data) {
  return request({
    url: serviceName + '/System/CreateSysColumn',
    method: 'post',
    data
  })
}

export default {
  query,
  createCode,
  createColumn
}
